/////////////////////////////////////////////////////////////////////////////
// Name:        listctrlItem.h
// Purpose:     
// Author:      Herry Sugiharto
// Modified by: 
// Created:     25/07/2009 16:39:19
// RCS-ID:      
// Copyright:   Copyright (c) 2008, 2009 Krida Software Division
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _LISTCTRLITEM_H_
#define _LISTCTRLITEM_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/listctrl.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_LISTCTRL 10002
////@end control identifiers


/*!
 * listctrlItem class declaration
 */

class listctrlItem: public wxListCtrl
{    
    DECLARE_DYNAMIC_CLASS( listctrlItem )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    listctrlItem();
    listctrlItem(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator);

    /// Destructor
    ~listctrlItem();
    
    /// functions
    bool AddToList(wxString& ScannedItem, wxString& Quantity, wxString& Discount);
    double GetGrandTotal();
};

#endif
    // _LISTCTRLITEM_H_
